package com.wanxi.test;

import java.util.Random;

public class MyRandom {
    public static void main(String[] args) {
        Random random=new Random();
        for (int i = 0; i <10 ; i++) {
//            System.out.println(random.nextDouble());;
            System.out.println(random.nextInt(10));
        }


    }
}
